<?php
class Front_IndexController extends FrontController implements IController{
	/**
	 * 
	 * @var Front_Index_Model
	 */
	protected $_model;
	public function initEntity(){
		$this->_model->setEntity(null);
	}
	public function indexAction(){
		$this->view()->toplefts = $this->_model->getTopLeftProduct($this->getContext());
		$this->view()->toprights = $this->_model->getTopRightProduct($this->getContext());
		$this->view()->row2s = $this->_model->getRow2Product($this->getContext());
		$this->view()->row3s = $this->_model->getRow3Product($this->getContext());
		$this->view()->top9news = $this->_model->getTopNews($this->getContext());
	}
}